projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88f5d45
)
popover: Remove an unused gtk_widget_get_allocation() call
author
Timm Bäder
<mail@baedert.org>
Sat, 18 Apr 2020 05:01:27 +0000
(07:01 +0200)
committer
Timm Bäder
<mail@baedert.org>
Tue, 5 May 2020 06:20:09 +0000
(08:20 +0200)
gtk/gtkpopover.c
patch
|
blob
|
history
diff --git
a/gtk/gtkpopover.c
b/gtk/gtkpopover.c
index 70a15ea3d9fea92b89c32e69345f31ed18045fd4..44bdf81acf166d2679bf6efcf3a84f976327c012 100644
(file)
--- a/
gtk/gtkpopover.c
+++ b/
gtk/gtkpopover.c
@@
-1278,12
+1278,9
@@
gtk_popover_fill_border_path (GtkPopover *popover,
cairo_t *cr)
{
GtkWidget *widget = GTK_WIDGET (popover);
- GtkAllocation allocation;
int x, y, w, h;
GskRoundedRect box;
- gtk_widget_get_allocation (widget, &allocation);
-
cairo_set_source_rgba (cr, 0, 0, 0, 1);
gtk_popover_apply_tail_path (popover, cr);